package cn.burnit.pojo;

/**
 * 用户实体类
 */
public class User {
    private String id;//用户id
    private String username;//用户名
    private String password;//密码
    private String is_admin;//是否为管理员

    public User() {
    }

    public User(String id, String username, String password, String is_admin) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.is_admin = is_admin;
    }



    public User(String username, String password) {
        this.username=username;
        this.password=password;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIs_admin() {
        return is_admin;
    }

    public void setIs_admin(String is_admin) {
        this.is_admin = is_admin;
    }


}
